package Try;

import Try.FileUtils.FileUtil;

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;

public class Main29 {
    public static void main(String[] args) throws IOException {
//        List<String> list = FileUtil.readFile(new File("C:\\Users\\ruanjie\\Desktop\\trainPairs.txt"));
//
//        List<String> pantsList =  new ArrayList<>();
//        for (String str:list){
//            if (str.contains("jeans")||str.contains("short")||str.contains("skirt")){
//                pantsList.add(str);
//            }
//        }
//
//        FileUtil.writeToFile(new File("C:\\Users\\ruanjie\\Desktop\\trainDownPairs.txt"), pantsList);
//        System.out.println((int)(Math.random()*(10)+1));
//        HashSet<Integer> set = new HashSet<Integer>();
//        Iterator<Integer> iterator = set.stream().iterator();
//        List<Integer>[] arrays = new ArrayList<Integer>()[9];

    }
}
